------------------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  C:\Users\mbeissin\Desktop\Stata files for book\Logfiles\bookintroduction.log
  log type:  text
 opened on:  25 Jan 2022, 19:15:12

. * ============================================================================
. * STATISTICAL RESULTS APPEARING IN INTRODUCTION
. * STATA Do file for Introduction 
. * Results reported in Introduction 
. * Author: Mark R. Beissinger  
. * Date:  January 2022  
. * Princeton, NJ 
. * =============================================================================
. * BEFORE RUNNING, YOU MUST SET THE DEFAULT PATH FOR WHERE THE DATA
. *   FILES RESIDE
. * =============================================================================
. * The following datafiles are used in this chapter:
. *   World Values Survey Wave 6 (as recoded by author for 
. *      analysis)--worldvalues.wave6.2010-14.dta
. * =============================================================================
. * Output produced:  Logfiles\bookintroduction.log
. * =============================================================================
. 
. * ================================================================
. * WORLD VALUES SURVEY: PERCEPTIONS OF CORRUPTION, URBAN VS. RURAL
. * ================================================================
. clear

. use worldvalues.wave6.2010-14.dta
(WV6_Data_dta_v20180912.dta)

. reg bribeok city gender age  i.V2, vce(robust)

Linear regression                               Number of obs     =     67,404
                                                F(49, 67354)      =     169.18
                                                Prob > F          =     0.0000
                                                R-squared         =     0.1897
                                                Root MSE          =     1.8248

-------------------------------------------------------------------------------
              |               Robust
      bribeok |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
         city |  -.0398117    .016308    -2.44   0.015    -.0717754   -.0078481
       gender |   .0679289    .014198     4.78   0.000     .0401009    .0957569
          age |  -.0074284   .0004395   -16.90   0.000    -.0082898   -.0065671
              |
           V2 |
  Azerbaijan  |  -.8815937    .073567   -11.98   0.000    -1.025785   -.7374025
   Argentina  |   -.564854   .0809288    -6.98   0.000    -.7234745   -.4062336
   Australia  |  -.6764374    .074283    -9.11   0.000     -.822032   -.5308428
     Armenia  |  -.7099501   .0759238    -9.35   0.000    -.8587607   -.5611394
      Brazil  |  -.6328897   .0804638    -7.87   0.000    -.7905988   -.4751807
     Belarus  |   .1776192   .0832767     2.13   0.033     .0143969    .3408416
       Chile  |  -.4871066   .0792237    -6.15   0.000     -.642385   -.3318281
       China  |  -.1776338   .0773255    -2.30   0.022    -.3291917   -.0260758
      Taiwan  |  -.5415745   .0766256    -7.07   0.000    -.6917606   -.3913884
    Colombia  |  -.6669729   .0728699    -9.15   0.000    -.8097978   -.5241481
      Cyprus  |  -.6728682   .0794521    -8.47   0.000    -.8285943   -.5171421
     Ecuador  |  -.2767462   .0820822    -3.37   0.001    -.4376274   -.1158651
     Estonia  |  -.6297882   .0724758    -8.69   0.000    -.7718408   -.4877356
     Georgia  |  -.9827585   .0684122   -14.37   0.000    -1.116846   -.8486706
     Germany  |  -.5060531   .0725423    -6.98   0.000    -.6482359   -.3638702
       Ghana  |  -.4680517   .0774004    -6.05   0.000    -.6197565   -.3163469
       Haiti  |   2.925144   .1034222    28.28   0.000     2.722437    3.127851
       India  |  -.6279813   .0706136    -8.89   0.000    -.7663839   -.4895787
        Iraq  |  -.4957726   .0771938    -6.42   0.000    -.6470724   -.3444728
  Kazakhstan  |  -.1018521    .083383    -1.22   0.222    -.2652826    .0615785
      Jordan  |  -.7741906   .0750109   -10.32   0.000    -.9212119   -.6271693
      Kuwait  |    .138291   .0993797     1.39   0.164    -.0564931    .3330751
  Kyrgyzstan  |  -.2533136   .0814913    -3.11   0.002    -.4130364   -.0935907
     Lebanon  |   .6295621   .0995789     6.32   0.000     .4343875    .8247367
       Libya  |  -.7028232   .0740014    -9.50   0.000    -.8478659   -.5577805
    Malaysia  |  -.1470059   .1145896    -1.28   0.200    -.3716015    .0775896
      Mexico  |   -.122819   .0837742    -1.47   0.143    -.2870163    .0413784
 Netherlands  |  -.6689995   .0719295    -9.30   0.000    -.8099813   -.5280178
 New Zealand  |  -.6196156   .0807371    -7.67   0.000    -.7778602   -.4613711
     Nigeria  |  -.0495463   .0790778    -0.63   0.531    -.2045387    .1054462
        Peru  |  -.2726498   .0827503    -3.29   0.001    -.4348404   -.1104592
 Philippines  |   1.966737   .1168826    16.83   0.000     1.737648    2.195827
      Poland  |  -.7068297    .076624    -9.22   0.000    -.8570126   -.5566468
     Romania  |  -.7794478   .0741223   -10.52   0.000    -.9247275   -.6341681
      Russia  |  -.0576204   .0756394    -0.76   0.446    -.2058735    .0906327
      Rwanda  |  -.1116275   .0729076    -1.53   0.126    -.2545263    .0312713
    Slovenia  |  -.7632533   .0746306   -10.23   0.000    -.9095292   -.6169774
South Africa  |   1.893547   .0833387    22.72   0.000     1.730204    2.056891
    Zimbabwe  |   .1171178   .0844784     1.39   0.166    -.0484598    .2826953
      Sweden  |  -.2805402   .0828297    -3.39   0.001    -.4428865    -.118194
    Thailand  |   -.452328   .0782946    -5.78   0.000    -.6057853   -.2988707
     Tunisia  |   -.832572   .0767828   -10.84   0.000    -.9830663   -.6820777
     Ukraine  |   -.146827   .0795119    -1.85   0.065    -.3026703    .0090164
     Uruguay  |  -.6095712   .0875452    -6.96   0.000    -.7811598   -.4379826
  Uzbekistan  |  -.6639454   .0737179    -9.01   0.000    -.8084324   -.5194584
       Yemen  |  -.7022572   .0823972    -8.52   0.000    -.8637556   -.5407587
              |
        _cons |   2.486748   .0684481    36.33   0.000      2.35259    2.620906
-------------------------------------------------------------------------------

. reg corrwide city gender age  i.V2, vce(robust)

Linear regression                               Number of obs     =      7,441
                                                F(9, 7431)        =      54.57
                                                Prob > F          =     0.0000
                                                R-squared         =     0.0701
                                                Root MSE          =     2.3775

------------------------------------------------------------------------------
             |               Robust
    corrwide |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
        city |    .183024   .0771617     2.37   0.018     .0317652    .3342828
      gender |   .1429632   .0552941     2.59   0.010     .0345711    .2513553
         age |  -.0001684   .0019174    -0.09   0.930    -.0039271    .0035903
             |
          V2 |
       Iraq  |  -.1501906   .1000934    -1.50   0.134     -.346402    .0460208
     Jordan  |  -.0679727   .1011055    -0.67   0.501     -.266168    .1302227
     Kuwait  |  -1.733779   .1208033   -14.35   0.000    -1.970588   -1.496971
    Lebanon  |   .2064772   .1016384     2.03   0.042     .0072372    .4057173
    Tunisia  |   .1092255   .1072045     1.02   0.308    -.1009257    .3193766
      Yemen  |   .8066906   .0997047     8.09   0.000     .6112411     1.00214
             |
       _cons |   7.278489   .1083392    67.18   0.000     7.066113    7.490864
------------------------------------------------------------------------------

. reg bribeok largecity gender age  i.V2, vce(robust)

Linear regression                               Number of obs     =     67,404
                                                F(49, 67354)      =     169.49
                                                Prob > F          =     0.0000
                                                R-squared         =     0.1897
                                                Root MSE          =     1.8247

-------------------------------------------------------------------------------
              |               Robust
      bribeok |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
    largecity |  -.0749283   .0211473    -3.54   0.000    -.1163771   -.0334796
       gender |   .0677489   .0141953     4.77   0.000     .0399261    .0955717
          age |  -.0074283   .0004394   -16.91   0.000    -.0082895   -.0065672
              |
           V2 |
  Azerbaijan  |  -.8635779   .0737629   -11.71   0.000    -1.008153   -.7190027
   Argentina  |  -.5329747   .0818472    -6.51   0.000    -.6933952   -.3725542
   Australia  |  -.6577686   .0744957    -8.83   0.000    -.8037802   -.5117571
     Armenia  |  -.7106811   .0759079    -9.36   0.000    -.8594605   -.5619018
      Brazil  |  -.6160331   .0805419    -7.65   0.000    -.7738951    -.458171
     Belarus  |   .1833506   .0832471     2.20   0.028     .0201863     .346515
       Chile  |  -.4678748   .0793899    -5.89   0.000    -.6234789   -.3122707
       China  |  -.1472523   .0781651    -1.88   0.060    -.3004559    .0059512
      Taiwan  |  -.5595289   .0761536    -7.35   0.000    -.7087899    -.410268
    Colombia  |  -.6525526    .073002    -8.94   0.000    -.7956365   -.5094686
      Cyprus  |  -.6717368   .0794734    -8.45   0.000    -.8275047   -.5159689
     Ecuador  |  -.2849319   .0815808    -3.49   0.000    -.4448302   -.1250336
     Estonia  |  -.6317348   .0724559    -8.72   0.000    -.7737483   -.4897212
     Georgia  |  -.9651323   .0685662   -14.08   0.000    -1.099522   -.8307427
     Germany  |  -.4939355   .0726028    -6.80   0.000     -.636237    -.351634
       Ghana  |  -.4540796   .0772289    -5.88   0.000    -.6054481   -.3027111
       Haiti  |    2.93184   .1034141    28.35   0.000     2.729149    3.134532
       India  |  -.6153582   .0705096    -8.73   0.000    -.7535571   -.4771594
        Iraq  |  -.4799838   .0772462    -6.21   0.000    -.6313863   -.3285813
  Kazakhstan  |  -.0913933   .0834231    -1.10   0.273    -.2549024    .0721158
      Jordan  |  -.7619248   .0749246   -10.17   0.000     -.908777   -.6150727
      Kuwait  |   .1580591   .0999271     1.58   0.114     -.037798    .3539162
  Kyrgyzstan  |  -.2348186    .081594    -2.88   0.004    -.3947429   -.0748944
     Lebanon  |   .6406349   .0996666     6.43   0.000     .4452886    .8359813
       Libya  |  -.6949945   .0740578    -9.38   0.000    -.8401478   -.5498412
    Malaysia  |  -.1488867   .1144713    -1.30   0.193    -.3732504    .0754771
      Mexico  |  -.1070676   .0838866    -1.28   0.202    -.2714853      .05735
 Netherlands  |  -.6686427   .0718628    -9.30   0.000    -.8094938   -.5277916
 New Zealand  |  -.6246666   .0806983    -7.74   0.000    -.7828353   -.4664979
     Nigeria  |  -.0465511   .0790518    -0.59   0.556    -.2014927    .1083904
        Peru  |  -.2765667   .0826386    -3.35   0.001    -.4385382   -.1145951
 Philippines  |   1.967817   .1167289    16.86   0.000     1.739029    2.196606
      Poland  |  -.6988616   .0766467    -9.12   0.000    -.8490891   -.5486341
     Romania  |  -.7718615    .074174   -10.41   0.000    -.9172424   -.6264805
      Russia  |  -.0408696   .0757052    -0.54   0.589    -.1892518    .1075126
      Rwanda  |  -.1173249   .0727904    -1.61   0.107    -.2599939    .0253442
    Slovenia  |  -.7504705   .0746047   -10.06   0.000    -.8966955   -.6042454
South Africa  |   1.908399   .0832074    22.94   0.000     1.745313    2.071485
    Zimbabwe  |   .1224292   .0844838     1.45   0.147     -.043159    .2880174
      Sweden  |  -.2788818   .0825381    -3.38   0.001    -.4406565   -.1171072
    Thailand  |   -.438478    .078176    -5.61   0.000    -.5917029   -.2852531
     Tunisia  |  -.8176466   .0766367   -10.67   0.000    -.9678546   -.6674387
     Ukraine  |  -.1347775   .0796134    -1.69   0.090    -.2908197    .0212647
     Uruguay  |  -.5784774   .0881907    -6.56   0.000    -.7513312   -.4056236
  Uzbekistan  |  -.6531759    .073753    -8.86   0.000    -.7977318     -.50862
       Yemen  |  -.6867536     .08232    -8.34   0.000    -.8481008   -.5254064
              |
        _cons |   2.471914   .0682563    36.22   0.000     2.338132    2.605696
-------------------------------------------------------------------------------

. reg corrwide largecity gender age  i.V2, vce(robust)

Linear regression                               Number of obs     =      7,441
                                                F(9, 7431)        =      54.56
                                                Prob > F          =     0.0000
                                                R-squared         =     0.0700
                                                Root MSE          =     2.3775

------------------------------------------------------------------------------
             |               Robust
    corrwide |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
   largecity |   .2380178   .1044185     2.28   0.023     .0333278    .4427077
      gender |    .150192   .0552883     2.72   0.007     .0418113    .2585727
         age |  -.0002279   .0019169    -0.12   0.905    -.0039856    .0035297
             |
          V2 |
       Iraq  |  -.1832514   .1030763    -1.78   0.075    -.3853102    .0188074
     Jordan  |  -.1227137   .0989676    -1.24   0.215    -.3167182    .0712908
     Kuwait  |  -1.772308   .1247661   -14.21   0.000    -2.016885   -1.527731
    Lebanon  |    .163955   .1019926     1.61   0.108    -.0359794    .3638893
    Tunisia  |   .0420378   .1043107     0.40   0.687    -.1624407    .2465163
      Yemen  |    .739624   .0971691     7.61   0.000     .5491451    .9301029
             |
       _cons |   7.344185   .1065145    68.95   0.000     7.135386    7.552984
------------------------------------------------------------------------------

. 
. 
. log close
      name:  <unnamed>
       log:  C:\Users\mbeissin\Desktop\Stata files for book\Logfiles\bookintroduction.log
  log type:  text
 closed on:  25 Jan 2022, 19:15:13
------------------------------------------------------------------------------------------------------------------
